package com.bdqn.ch01;

import com.bdqn.ch01.service.DemoService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;


@SpringBootTest
public class DemoServiceTester {
    @Resource
    private DemoService demoService;


    @Test
    public void testSayHello(){
        String msg = demoService.sayHello();
        System.out.println("msg:"+msg);
    }
}
